# File: ally_summoner_link.gd
# 召唤师技能 - 灵魂链接
# 召唤物伤害转化治疗
extends TechnologyResource
class_name AllySummonerLink

var lifesteal_ratio = 0.1  # 吸血比例

func _init() -> void:
	super()
	display_name = "Soul Link"
	description = "10% of summon damage heals the summoner"
	GlobalSignal.gs_ally_deal_damage.connect(_on_summon_damage)

# 处理召唤物伤害
func _on_summon_damage(target: Unit, skill: Skill, damage: int):
	pass
